namespace Eflong.Components
{
    using System;
    using System.ComponentModel;

    public class MultiRunWorkerCompletedEventArgs : RunWorkerCompletedEventArgs
    {
        private readonly object taskId;

        public MultiRunWorkerCompletedEventArgs( object taskId , object result , Exception e , bool canceled )
            : base( result , e , canceled )
        {
            this.taskId = taskId;
        }

        public object TaskId
        {
            get
            {
                return this.taskId;
            }
        }
    }
}